package com.bt.lms.entity.page;

import com.bt.lms.ui.vo.school_education.ListConditionSearchInfoVo;

import java.util.List;

/**
 * 分页条件模型
 * 总条数
 * 当前页
 * 每页展示条数
 * 展示的数据【不确定】
 */
public class Page<T> {

    /**
     * 查询数据列表
     */
    private List<T> records;

    /**
     * 分页条件查询
     */
    private ListConditionSearchInfoVo listConditionSearchInfoVo;

    /**
     * 总记录数
     */
    private Long total;

    /**
     * 当前页
     *  默认第一页
     */
    private Integer current = 1;

    /**
     * 每一页的条数
     *  默认每页10条
     */
    private Integer size = 10;

    public List<T> getRecords() {
        return records;
    }

    public void setRecords(List<T> records) {
        this.records = records;
    }

    public ListConditionSearchInfoVo getListConditionSearchInfoVo() {
        return listConditionSearchInfoVo;
    }

    public void setListConditionSearchInfoVo(ListConditionSearchInfoVo listConditionSearchInfoVo) {
        this.listConditionSearchInfoVo = listConditionSearchInfoVo;
    }

    public Long getTotal() {
        return total;
    }

    public void setTotal(Long total) {
        this.total = total;
    }

    public Integer getCurrent() {
        return current;
    }

    public void setCurrent(Integer current) {
        this.current = current;
    }

    public Integer getSize() {
        return size;
    }

    public void setSize(Integer size) {
        this.size = size;
    }
}
